package com.anche.cywebnew.Pojo.exchangeManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @autuor zhz
 * @Date 2023/5/31
 */

@Data
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="YyDataBase对象-交互", description="")
public class YyDataBase {

    private static final long serialVersionUID=1L;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "UUID")
    private String id;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "工作站名称")
    private String organ;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "App uuid")
    private String userid;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "预约日期")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String bookingDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "预约时间")
    private String bookingTime;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "预约订单的时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date orderDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "号牌号码")
    private String hphm;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "号牌种类")
    private String hpzl;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "车架号")
    private String clsbdh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "登记证书编号")
    private String djzsbh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "合格证内容")
    private String hgz;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "所有人")
    private String syr;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "所有人种类")
    private String syrzl;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "所有人电话")
    private String syrdh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "所有人身份证号")
    private String syridno;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "代办人")
    private String dbr;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "代办人电话")
    private String dbrdh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "车身颜色")
    private String csys;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "车辆类型")
    private String cllx;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "使用性质")
    private String syxz;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "制造厂名称")
    private String zzcmc;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "出厂日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
//    @JSONField(format  = "yyyy-MM-dd")
    private Date ccrq;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "车辆品牌")
    private String clpp;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "发动机型号")
    private String fdjxh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "车辆型号")
    private String clxh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "流水状态")
    private String lszt;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "下一状态")
    private String nextzt;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "查验流水号")
    private String cylsh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "国产进口 0:国产 1：进口")
    private String gcjk;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "业务类型")
    private String ywlx;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "业务原因")
    private String ywyy;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "照片1")
    private String imgOneAddress;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "照片2")
    private String imgTwoAddress;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "状态信息")
    private String ztxx;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "是否代办（0-否 1-是）")
    private String sfdb;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "号牌领取方式（0-自取 1-邮寄）")
    private String hplqfs;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "选号方式（0-互联网 1-现场 2-原号牌号码）")
    private String xhfs;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "原号牌号码")
    private String yhphm;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "邮寄地址")
    private String yjdz;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "变更后使用性质")
    private String bghsyxz;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "变更后车身颜色")
    private String bghcsys;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "变更后发动机号")
    private String bghfdjh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "变更后发动机型号")
    private String bghfdjxh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "变更后迁出地")
    private String bghqcd;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "辅助装置型号")
    private String fzzzxh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "辅助装置编号")
    private String fzzzbh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "加装尾板质量")
    private String jzwbzl;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "是否需要临牌（0-否 1-是）")
//    @TableField("Sfxylp")
    private String sfxylp;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "一致性证书编号")
    private String yzxzsbh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "一致性证书内容")
    private String yzxzsnr;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "删除状态标识")
    private String delstatus;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "姓名")
    private String username;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "身份证号码")
    private String idno;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "电话号码")
    private String phonenum;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "号牌柜口令")
    private String hpgkl;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "缴费二维码")
    private String jfewm;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "是否抵押")
    private String sfdy;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "获得方式")
    private String hdfs;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "小客车四项变更内容")
    private String xkcsxnr;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "行驶证领取方式（0-自取，1-邮寄）")
    private String xszlqfs;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "收费项目")
    private String sfxm;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "金额")
    private String fee;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "同步id")
    private String tbid;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "同步状态")
    private String status;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "交互时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date jhsj;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "取牌码")
    private String yzm;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "客户评价")
    private String khpj;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "取牌时间")
    private String qpsj;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "上次短信推送")
    private String scdxts;


//    @Override
//    protected Serializable pkVal() {
//        return this.id;
//    }

}